VPN doesn't respect "Advanced Network setting"
I am connected to my local domain,
the DNS is resolved by a DNS server in the local domain.
When I connect to a VPN to a remote server in another domain,
Windows 7 uses as DNS server the WAN DNS server
Changing the order in "Network Advanced setting" do not get any results.
By controlling the W7 system registry,
Windows 7 shows that the WAN cards are added always come first.
Setting in "Advanced setting" the LAN card as before, should be added as the last.
If, in the register,I change the order manually, the DNS resolution returns to the LAN.
I would put the binding order in the configuration of each WAN (ie in Rasphone.pbk file),
and then I can decide for each VPN, how it behaves
(We are a software house, and we handle many VPN with our customers)
January 24th, 2011 9:56am
Hi,
You can refer to the following steps to let the computer get local DNS server when connecting VPN.
1.
Click Network icon in System Tray.
2.
Right-click the VPN connection and
choose Properties.
3.
Switch to the Networking tab, click Internet Protocol version 4 (TCP/IPv4), and then click Properties.
4.
Click Advanced, if the
"Use default gateway on remote network" option is checked, please uncheck it and then click OK.
In addition, I will share the following KB for this issue. Hope them help.
http://support.microsoft.com/kb/317025
http://support.microsoft.com/kb/942440
Regards,
NikiPlease remember to click "Mark as Answer" on the post that helps you, and to click "Unmark as Answer" if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
January 26th, 2011 8:46pm
Doesn't help.
" Use default gateway on remote network"
is unchecked.
January 29th, 2011 6:49am
Hi,
Would you please let me know if you modify the following registry? If not, please try it.
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Linkage
The Bind registry value is a multi-string value that contains a list of network adapters in binding order. The first entry in the list is
the first bound network adapter; the second entry is the second network adapter in the binding order; and so forth.
Double click the Bind value, select the "\Device\
{4D36E972-E325-11CE-BFC1-08002BE10318}" item, press CTRL+X, click the top of the list of devices, and then press CTRL+V.
Click OK, and then quit Registry Editor.
In addition, I will share the following article for you. Hope it helps.
http://www.isaserver.org/tutorials/work-around-VPN-clients-split-DNS.html
Note: Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not
guarantee the accuracy of this third-party contact information.
Best Regards,
NikiPlease remember to click "Mark as Answer" on the post that helps you, and to click "Unmark as Answer" if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
February 3rd, 2011 6:11am
Hi,
Would you please let me know if you modify the following registry? If not, please try it.
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Linkage
The Bind registry value is a multi-string value that contains a list of network adapters in binding order. The first entry in the list is
the first bound network adapter; the second entry is the second network adapter in the binding order; and so forth.
Double click the Bind value, select the "\Device\
{4D36E972-E325-11CE-BFC1-08002BE10318}" item, press CTRL+X, click the top of the list of devices, and then press CTRL+V.
Click OK, and then quit Registry Editor.
In addition, I will share the following article for you. Hope it helps.
http://www.isaserver.org/tutorials/work-around-VPN-clients-split-DNS.html
Note: Since the website is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
Best Regards,
Niki
Please remember to click "Mark as Answer" on the post that helps you, and to click "Unmark as Answer" if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
February 3rd, 2011 12:22pm
Hi,
with none VPN i'm on this Bind case:
\Device\{3F8A289E-B952-4D40-9E3B-AB6241724099} Realtek PCIe GBE Family Controller net=192.168.10.XXX
\Device\{F998DA82-CC90-47A0-9753-124548216D1A} Dispositivo Bluetooth (Personal Area Network)
\Device\{119B22A1-FC93-4A16-9ABD-E16943D6C65A} Microsoft Windows Mobile Remote Adapter
After a VPN it is open the Bind become:
\Device\{33A0D7EA-19A6-4F11-B956-751F243C77B8} VPN interface net=192.168.42.XXX
\Device\{3F8A289E-B952-4D40-9E3B-AB6241724099} Realtek PCIe GBE Family Controller net=192.168.10.XXX
\Device\{F998DA82-CC90-47A0-9753-124548216D1A} Dispositivo Bluetooth (Personal Area Network)
\Device\{119B22A1-FC93-4A16-9ABD-E16943D6C65A} Microsoft Windows Mobile Remote Adapter
At this point the DNS Server is the VPN remote DNS server 192.168.42.201 !!
This is bad for me !
If now I change manually the Bind to:
\Device\{3F8A289E-B952-4D40-9E3B-AB6241724099} Realtek PCIe GBE Family Controller net=192.168.10.XXX
\Device\{33A0D7EA-19A6-4F11-B956-751F243C77B8} VPN interface net=192.168.42.XXX
\Device\{F998DA82-CC90-47A0-9753-124548216D1A} Dispositivo Bluetooth (Personal Area Network)
\Device\{119B22A1-FC93-4A16-9ABD-E16943D6C65A} Microsoft Windows Mobile Remote Adapter
the DNS Server return to the local net DNS Server 192.168.10.200 !!
this is good for me !
I can configure Windows 7 so that it behaves well ?
Thanks
Free Windows Admin Tool Kit Click here and download it now
April 9th, 2011 4:31am